class CreateHosts < ActiveRecord::Migration
  def self.up
    create_table :hosts do |t|
      t.column :name,        :string, :null => false
      t.column :description, :string
      t.column :admin,       :string
      t.column :plugin,      :string, :default => 'ssh'
      t.timestamps
    end
  end

  def self.down
    drop_table :hosts
  end
end
